package com.example.ktapplication.state

import com.example.ktapplication.bean.HotSearchBean
import com.example.ktapplication.bean.LoginBean

sealed class HostSearchState {
    //成功
    data class OnSuccess(var host: HotSearchBean?) : HostSearchState()
    //失败
    data class OnError(var exception: Throwable?) : HostSearchState()
}